const querystring = require('querystring')
const url = require('url')


let obj = querystring.parse('wd=nodejs&rsv_spt=1&rsv_iqid=0xb6f2163f0000fafa&issp=1&f=3&rsv_bp=0&rsv_idx=2&ie=utf-8&tn=baiduhome_pg&rsv_enter=1&rsv_sug3=4&rsv_sug1=3&rsv_sug7=100&rsv_t=7a43FFU24kgZHOwFKFGlkG0A9sMzMD8sUe6VsNhUkZ92Qx%2FFU0U4h596buLXzn4yvDYP&rsv_sug2=0&prefixsug=node&rsp=1&inputT=2062&rsv_sug4=2062&rsv_sug=1')
let objurl = url.parse('wd=nodejs&rsv_spt=1&rsv_iqid=0xb6f2163f0000fafa&issp=1&f=3&rsv_bp=0&rsv_idx=2&ie=utf-8&tn=baiduhome_pg&rsv_enter=1&rsv_sug3=4&rsv_sug1=3&rsv_sug7=100&rsv_t=7a43FFU24kgZHOwFKFGlkG0A9sMzMD8sUe6VsNhUkZ92Qx%2FFU0U4h596buLXzn4yvDYP&rsv_sug2=0&prefixsug=node&rsp=1&inputT=2062&rsv_sug4=2062&rsv_sug=1')
// console.log(obj);
console.log(objurl);